package com.musicmall.controller.backend;

import com.github.pagehelper.PageInfo;
import com.musicmall.common.ServerResponse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/manage/singles/")
public class SinglesManagerController {
//    @Autowired


//    @GetMapping("list.do")
//    public ServerResponse<PageInfo> list(@RequestParam(value = "pageNum",defaultValue = "1") int pageNum,
//                                         @RequestParam(value = "pageSize",defaultValue = "10") int pageSize){
//        return iProductService.getProductByKeywordCategory(keyword,categoryId,pageNum,pageSize,orderBy);
//        return iSinglesService.getSinglesList(pageNum,pageSize);
//        return null;
//    }

}
